package com.study.zouchao.superproject.comtaskdetail.model;

/**
 * Created by Administrator on 2017/6/26.
 */

public class EnrollResult {

    /**
     * data : {"taskId":58,"taskStatus":1}
     * message : 申请任务成功
     * code : 28003
     */

    private DataBean data;
    private String message;
    private int code;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "EnrollResult{" +
                "data=" + data +
                ", message='" + message + '\'' +
                ", code=" + code +
                '}';
    }

    public static class DataBean {
        /**
         * taskId : 58
         * taskStatus : 1
         */

        private int taskId;
        private int taskStatus;

        public int getTaskId() {
            return taskId;
        }

        public void setTaskId(int taskId) {
            this.taskId = taskId;
        }

        public int getTaskStatus() {
            return taskStatus;
        }

        public void setTaskStatus(int taskStatus) {
            this.taskStatus = taskStatus;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "taskId=" + taskId +
                    ", taskStatus=" + taskStatus +
                    '}';
        }
    }
}
